package com.zzyl.elder.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 入住配置对象 check_in_config
 *
 * @author ruoyi
 * @date 2024-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "CheckInConfig", description = "入住配置")
public class CheckInConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 老人ID */
    @ApiModelProperty("老人ID")
    @Excel(name = "老人ID")
    private Long elderId;

    /** 入住编码 */
    @ApiModelProperty("入住编码")
    @Excel(name = "入住编码")
    private String checkInCode;

    /** 入住开始时间 */
    @ApiModelProperty("入住开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkInStartTime;

    /** 入住结束时间 */
    @ApiModelProperty("入住结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkInEndTime;

    /** 护理等级ID */
    @ApiModelProperty("护理等级ID")
    @Excel(name = "护理等级ID")
    private Long nursingLevelId;

    /** 护理等级名称 */
    @ApiModelProperty("护理等级名称")
    @Excel(name = "护理等级名称")
    private String nursingLevelName;

    /** 床位号 */
    @ApiModelProperty("床位号")
    @Excel(name = "床位号")
    private String bedNumber;

    /** 费用开始时间 */
    @ApiModelProperty("费用开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "费用开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date costStartTime;

    /** 费用结束时间 */
    @ApiModelProperty("费用结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "费用结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date costEndTime;

    /** 押金（元） */
    @ApiModelProperty("押金")
    @Excel(name = "押金", readConverterExp = "元=")
    private BigDecimal depositAmount;

    /** 护理费用（元/月） */
    @ApiModelProperty("护理费用")
    @Excel(name = "护理费用", readConverterExp = "元=/月")
    private BigDecimal nursingCost;

    /** 床位费用（元/月） */
    @ApiModelProperty("床位费用")
    @Excel(name = "床位费用", readConverterExp = "元=/月")
    private BigDecimal bedCost;

    /** 其他费用（元/月） */
    @ApiModelProperty("其他费用")
    @Excel(name = "其他费用", readConverterExp = "元=/月")
    private BigDecimal otherCost;

    /** 医保支付（元/月） */
    @ApiModelProperty("医保支付")
    @Excel(name = "医保支付", readConverterExp = "元=/月")
    private BigDecimal medicalInsurancePayment;

    /** 政府补贴（元/月） */
    @ApiModelProperty("政府补贴")
    @Excel(name = "政府补贴", readConverterExp = "元=/月")
    private BigDecimal governmentSubsidy;


}
